<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript" src="ExcellentCourse.js"></script>
<script type="text/javascript" >
$(document).ready(function() {
	var departmentId = ${excellentCourse.departmentId};
	var majorId = ${excellentCourse.majorId};
	initForm(departmentId,majorId);
	createDepartmentChange(0);
});
</script>
<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：编辑精品课程</span></div>
<div class="function_content">

<div class="addItem"><img src="../images/return_icon.png"><a href="listExcellentCourse.action?intercept=1">返回列表</a></div>

<span class="important_info">注：带*项为必填信息!</span>
<form action="updateExcellentCourse.action" method="post" id="demo">
<s:hidden name="excellentCourse.exceCourseId"></s:hidden>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="loginTable">
     <tr>
      <td width="15%" align="right" class="leftBg"><span class="important_info">*</span>精品课程名称：</td>
      <td ><s:textfield name="excellentCourse.exceCourseName" size="100"></s:textfield></td>    
	</tr>
    <tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>所属系所：</td>
      <td>
        <select name="excellentCourse.departmentId" id="departmentId">
	<option value="">--未选择--</option>
</select>
      </td>
    </tr>
    <tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>所属专业：</td>
      <td>
       <select name="excellentCourse.majorId" id="majorId">
	<option value="">--未选择--</option>
</select>
      </td>
    </tr>
    <tr>
      <td align="right" class="leftBg">精品课程描述：</td>
      <td>
		<s:textarea name="excellentCourse.exceCourseMark"  rows="5" cols="60"></s:textarea></td>
    </tr>
<!--  
    <tr>
      <td align="right" class="leftBg">课程截图地址：</td>
      <td>
		<s:textfield name="excellentCourse.imgSrc"></s:textfield></td>
    </tr>
    -->
    <tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>课程URL：</td>
      <td>
		<s:textfield name="excellentCourse.exceCourseUrl" size="100"></s:textfield></td>
    </tr>
    <tr>
	  <td align="right">&nbsp;</td>
      <td>
        <input type="submit" name="submit" id="submit" value="修改" class="deal_button">
        <input type="reset" name="reset" id="reset" value="重置" class="deal_button">
      </td>
    </tr>
  </table>
</form>

</div>

<%@ include file="../Main/bottom.jsp"%>
